ComponentOne FinancialChart for WPF
C1.WPF Namespace / C1HierarchicalPresenter Class / ToList<T>() Method
The type of the container, e.g. C1TreeViewItem



In This Topic
    ToList<T>() Method
    In This Topic
    Creates a list with all the item containers present in the Hierarchical Presenter at the moment of invocation.
    Syntax
    'Declaration
     
    
    Public Function ToList(Of T As C1HierarchicalPresenter)() As IList(Of T)
    'Usage
     
    
    Dim instance As C1HierarchicalPresenter
    Dim value As IList(Of T)
     
    value = instance.ToList(Of T)()
    public IList<T> ToList<T>()
    where T: C1HierarchicalPresenter
    public:
    IList<T^>^ ToListgeneric<typename T>
    (); 
    where T: C1HierarchicalPresenter

    Type Parameters

    T
    The type of the container, e.g. C1TreeViewItem

    Return Value

    The list of item containers.
    See Also